Skip to content

refactor: move reload function into utils module#2247

Merged
alex-courtis merged 4 commits into
nvim-tree:masterfrom
Akmadan23:refactor-reload
Jun 10, 2023
Merged

refactor: move reload function into utils module#2247
alex-courtis merged 4 commits into
nvim-tree:masterfrom
Akmadan23:refactor-reload

Conversation

@Akmadan23
Copy link
Copy Markdown
Collaborator

This is the refactor we discussed in #2202, it will be useful for future fixes.
I also noticed that I called utils.focus_file when it was unnecessary, so I replaced it with a simple view.set_cursor.

Copy link
Copy Markdown
Member

@alex-courtis alex-courtis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks; structural improvements are always very welcome.

Comment thread lua/nvim-tree/utils.lua
@alex-courtis alex-courtis merged commit 576d4c1 into nvim-tree:master Jun 10, 2023
@Akmadan23 Akmadan23 deleted the refactor-reload branch June 10, 2023 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants